package com.umpay.dto.merAccess.req.bindcard;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;

/**
 * 
 * @ClassName: BindCardCfmReq  
 * @Description: 绑卡确认请求类  
 * @author zhangtao  
 * @date Jan 22, 2018
 */
public class BindcardConfirmReq extends CommonReq{
	
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String trade_no;
	
	/**
	 * 联动用户号
	 */
	@NotEmpty(message = "联动用户号不能为空")
	@Pattern(message = "联动用户号格式不正确")
	private String user_id;
	
	/**
	 * 验证码
	 */
	@NotEmpty(message = "验证码不能为空")
	@Pattern(message = "验证码格式不正确")
	private String verify_code;

	public String getTrade_no() {
		return trade_no;
	}

	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getVerify_code() {
		return verify_code;
	}

	public void setVerify_code(String verify_code) {
		this.verify_code = verify_code;
	}

	@Override
	public String toString() {
		return "BindcardConfirmReq [trade_no=" + trade_no + ", user_id=" + user_id + ", verify_code=" + verify_code
				+ ", mer_id" + getMer_id() + ", version=" + getVersion() + "]";
	}
}
